<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>

        <script src="js/jquery/jquery-1.8.3.min.js"></script>

        <link rel="stylesheet" href="css/dbpedia/style.css" type="text/css" />
        <link rel="stylesheet" href="css/dbpedia/highlighter.css" type="text/css" />
        
    </head>
    <body>

        <%@include file="header.jsp" %>

        <h1>Real Estate Deal Types</h1>

        <br><br>


        <table style="width:100%" border="1" cellpadding="5" cellspacing="5">
            <tr>
                <th>ID</th>
                <th>Title</th>
                <th>Description</th>
            </tr>
            <c:forEach items="${model.types}" var="type">
                <tr>
                    <td><a href="retype.htm?a=32&id=${type.id}">${type.id}</a></td>
                    <td><a href="retype.htm?a=32&id=${type.id}">${type.title}</a></td>
                    <td><a href="retype.htm?a=32&id=${type.id}">${type.description}</a></td>
                </tr>
            </c:forEach>
        </table>

        <br><br>
                
    </body>
</html>
